<?php
Class DB_ERROR {
	function DB_ERROR($msg) {
		$sqlerror = mysql_error();
		ob_end_clean();
		$db_obstart && function_exists('ob_gzhandler') ? ob_start('ob_gzhandler') : ob_start();
		echo"sql error:".$sqlerror."\n";
		echo "msg:".$msg."\n";
		//exit;
	}
}
?>